//
//  UICollectionViewCell+OF.h
//  HMmall
//
//  Created by 李李善 on 16/7/1.
//  Copyright © 2016年 吉青. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UICollectionViewCell (OF)
@property (nonatomic,weak) UIViewController *pushedViewController;

- (void)onAsInitAddView:(UIView *)view forViewController:(UIViewController *)ViewController forDataSource:(id)dataSource AtIndexPath:(NSIndexPath *)indexPath;

- (void)update:(id)model forCollectionView:(UICollectionView *)CollectionView AtIndexPath:(NSIndexPath *)indexPath;// NS_REQUIRES_SUPER;

@end

@interface UIView (CollectionViewCell)

/**
 *  查找本身的父类(UICollectionViewCell）
 */
- (UICollectionViewCell *)findCollectionViewCell;


@end
